home *** CD-ROM | disk | FTP | other *** search
- Path: ccnews.ncku.edu.tw!news
- From: next@eembox.ncku.edu.tw ()
- Newsgroups: comp.lang.c++
- Subject: How to create an Automation-enabled thread ?
- Date: Thu, 18 Apr 1996 13:33:07 GMT
- Organization: 3D MIRACLE Lab
- Message-ID: <4l5jpa$bk9@ccnews.ncku.edu.tw>
- NNTP-Posting-Host: 140.116.72.115
- X-Newsreader: Forte Free Agent v0.55
-
-
- In MFC:
-
- 1. To create an automation object, use ClassWizard to create a
- CCmdTarget-derived class.
-
- 2. To attach an automation object passed from external EXE, use
- COleDispatchDriver-derived class's AttachDispatch(LPDISPATCH
- lpDispatch) function.
-
- 3. Use AfxBeginThread() to create a new thread.
-
- Now, how to create a thread which can access automation object
- passed from external EXE?
-
-
- ================================
- Wang, Hong-Ming
- Mirac Lab.
- next@eembox.ncku.edu.tw
- ================================
-
-